//
//  HomeActivityCollectionViewCell.m
//  PaiLeXiongProject
//
//  Created by 小獾科技 on 2017/8/22.
//  Copyright © 2017年 小獾科技. All rights reserved.
//

#import "HomeActivityCollectionViewCell.h"

@interface HomeActivityCollectionViewCell ()

@property (nonatomic, strong) UIImageView *imgView;

@end

@implementation HomeActivityCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if(self = [super initWithFrame:frame])
    {
        _imgView = [UIImageView new];
        _imgView.backgroundColor = ColorYellow;
        [self addSubview:_imgView];
        [_imgView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self).offset(10);
            make.centerX.equalTo(self);
            make.width.equalTo(@(GWIDTH / 2 - 15));
            make.height.equalTo(@87);
        }];
    }
    return self;
}

@end
